// EngineSelectDialog.cpp : implementation file
//

#include "stdafx.h"
#include "Test.h"
#include "EngineSelectDialog.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CEngineSelectDialog dialog


CEngineSelectDialog::CEngineSelectDialog(CDialogListener & l,CWnd* pParent /*=NULL*/):listener(l),
	 CDialog(CEngineSelectDialog::IDD, pParent)
{
	//{{AFX_DATA_INIT(CEngineSelectDialog)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CEngineSelectDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CEngineSelectDialog)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CEngineSelectDialog, CDialog)
	//{{AFX_MSG_MAP(CEngineSelectDialog)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CEngineSelectDialog message handlers

void CEngineSelectDialog::addString(std::string s)
{
	CListBox * list=(CListBox *)GetDlgItem(IDC_LIST1);
	list->AddString(s.c_str());
}

unsigned CEngineSelectDialog::getSelected()
{
	return 0;
}
